package szcg.scheduled.service;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

//启动类需扫描类库-否则service不会自动装配
@ComponentScan(basePackages = {"szcg.scheduled.service", "szcg.framework.library"})
@SpringBootApplication
public class ScheduledApplication {
    public static void main(String[] args) {
        SpringApplication.run(ScheduledApplication.class, args);
    }
}
